T
The desired EventDataSourceExtension type.
Keysight Pathwave 89600 VSA .NET API
SetExtension<T>() Method
See Also 
Agilent.SA.Vsa.Interfaces Assembly > Keysight.SA.Vsa Namespace > EventDataSource Class > SetExtension Method : SetExtension<T>() Method


Glossary Item Box

Changes the current EventDataSourceExtension to the indicated type (if necessary) and returns an appropriately typed handle to the EventDataSourceExtension object.

Syntax

Visual Basic (Declaration) 
Public Overloads MustOverride Function SetExtension(Of T As EventDataSourceExtension)() As T
C# 
public abstract T SetExtension<T>()
where T: EventDataSourceExtension
C++/CLI 
public:
abstract T^ SetExtensiongeneric<typename T>
(); 
where T: EventDataSourceExtension

Type Parameters

T
The desired EventDataSourceExtension type.

Return Value

A correctly typed handle to the requested EventDataSourceExtension object. If the requested EventDataSourceExtension is not available, an exception is thrown. In this case, the previous EventDataSourceExtension is left unchanged.

Requirements

Target Platforms: Windows 11 Professional or Enterprise; Windows 10 Professional, Enterprise, or Education (64-bit)

See Also